package com.woniu.cms.lease.core.VO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.woniu.cms.lease.core.entity.LeaseManage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("保存仪器VO对象")
public class StorageVO extends LeaseManage {

    @ApiModelProperty("仪表管理主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("租赁单位 项目信息引用过来")
    private String rentalUnits;

    @ApiModelProperty("项目经理 项目信息引用过来")
    private String projectManager;

    @ApiModelProperty("工程名称 项目信息引用过来")
    private String projectName;

    @ApiModelProperty("工程合同号 项目信息引用过来")
    private String contractNumber;

    @ApiModelProperty("仪表名称")
    private String instrumentName;

    @ApiModelProperty("规格型号")
    private String model;

    @ApiModelProperty("附件")
    private String annex;

    @ApiModelProperty("管理编号")
    private String managementId;

    @ApiModelProperty("租出日期")
    private Date dateOfRental;

    @ApiModelProperty("归还日期")
    private Date returnTime;

    @ApiModelProperty("使用时间")
    private Integer ofUse;

    @ApiModelProperty("租赁价格")
    private Integer valueOfLeass;

    @ApiModelProperty("租金合计")
    private Integer totalRent;

    @ApiModelProperty("租前检查")
    private String beforeChecking;

    @ApiModelProperty("归还检查")
    private String returnInspection;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("记录人")
    private String recorder;

    @ApiModelProperty("记录日期")
    private Date recordingTime;

    @ApiModelProperty("仪器详情表外键")
    private Integer storageId;


}
